<?php

use app\admin\middleware\SystemToken;

return [
    'admin' => [
        SystemToken::class,
    ],
    // api应用中间件(应用中间件仅在多应用模式下有效)
    'api' => [
        app\api\middleware\CorsMiddleware::class, // API 跨域中间件
        app\api\middleware\SignCheckNoLoginActionMiddleware::class, // 请求签名认证
        app\api\middleware\AuthCheckNoLoginActionMiddleware::class, // 鉴权方法是否需要登录
    ]
];
